package com.android.dumiaogou.model.detail;

import java.util.List;

/**
 * Created by lnest-php on 2017/9/12.
 */

public class GoodsDetailComment {

    /**
     * data : {"list_total":2,"list":[{"mid":"1","avatar":"https://jingpai.lnest.cc/upload/1/images/photo/1_thumb.jpg","nickname":"1234567890","c_time":"2017-03-09 16:03:41","star":"0","content":"未填写评价内容"},{"mid":"1","avatar":"https://jingpai.lnest.cc/upload/1/images/photo/1_thumb.jpg","nickname":"1234567890","c_time":"2017-03-07 17:03:44","star":"3","content":"未填写评价内容"}]}
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1505183771
     */

    private DataBean data;
    private boolean flag;
    private int code;
    private String msg;
    private int time;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        /**
         * list_total : 2
         * list : [{"mid":"1","avatar":"https://jingpai.lnest.cc/upload/1/images/photo/1_thumb.jpg","nickname":"1234567890","c_time":"2017-03-09 16:03:41","star":"0","content":"未填写评价内容"},{"mid":"1","avatar":"https://jingpai.lnest.cc/upload/1/images/photo/1_thumb.jpg","nickname":"1234567890","c_time":"2017-03-07 17:03:44","star":"3","content":"未填写评价内容"}]
         */

        private int list_total;
        private List<ListBean> list;

        public int getList_total() {
            return list_total;
        }

        public void setList_total(int list_total) {
            this.list_total = list_total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * mid : 1
             * avatar : https://jingpai.lnest.cc/upload/1/images/photo/1_thumb.jpg
             * nickname : 1234567890
             * c_time : 2017-03-09 16:03:41
             * star : 0
             * content : 未填写评价内容
             */

            private String mid;
            private String avatar;
            private String nickname;
            private String c_time;
            private String star;
            private String content;

            public String getMid() {
                return mid;
            }

            public void setMid(String mid) {
                this.mid = mid;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getC_time() {
                return c_time;
            }

            public void setC_time(String c_time) {
                this.c_time = c_time;
            }

            public String getStar() {
                return star;
            }

            public void setStar(String star) {
                this.star = star;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }
        }
    }
}
